package com.lovcreate.shop.api.service;

import com.lovcreate.shop.api.request.SmsResetPasswordRequest;
import com.lovcreate.shop.api.request.SmsSendAdapterRequest;
import com.lovcreate.shop.api.request.SmsSendRequest;
import com.lovcreate.shop.api.request.SmsVerifyCodeRequest;

/**
 * @author 高博
 * @version 1.0
 * @Time 2016-12-22 15:57:15
 * @Descrption 发送短信service接口
 */
public interface SmsService {

    /**
     * 发短信认证申请成功,失败接口
     * 成功不需要reason
     *
     * @param request
     */

    void sendVerify(SmsSendAdapterRequest request);

    boolean verifyCode(SmsVerifyCodeRequest request);

    void sendSms(SmsSendRequest request);

    void sendNewPassword(SmsResetPasswordRequest request);
}
